package cc.qiblogs.news.api;

import cc.qiblogs.news.bean.News;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by qihuang on 16-11-6.
 */

public interface ApiService {
    @GET("index")
    Observable<News> getNews(@Query("type") String type, @Query("key") String apiKey);
}
